package com.property.biz;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.property.entity.Owner;

public interface OwnerBiz {
	void addOwner(Owner owner); 
	List<Owner> getAll();
	List<Owner> getByStatus(String status);
	List<Owner> getKeyWord( int userId,String name,String tower,String houseIN );
	Owner getbyId(int id);
	void  updateOwner(Owner owner);
	Owner getbyIds(int id,int comid);
	void  updateOwners(Owner owner);
	List<Owner> getListId(int cid);
	List<Owner> getKey( int userId,String name,String tower,String houseIN ,int startIndex,int pageSize);
	int rowCount(int userId,String name,String tower,String houseIN);
	List<Owner> getownerhouseList(@Param("uid") int uid);
	Owner getownerhousedateil(int oid);
	Owner getOwner(int id);
	void deleteOwner(int oid);
	void addOwnerhouse(Owner owner);
	void delOwner(int cid);
	int getOwn(int id,String tower,String houseIN);
}
